<?php

namespace App\Libraries\AppSocialite;

use App\Libraries\AppSocialite\Contracts\Factory;
use Illuminate\Support\ServiceProvider;

class AppSocialiteServiceProvider extends ServiceProvider
{
    /**
     * Deferred.
     *
     * @var bool
     */
    protected $defer = true;

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton(Factory::class, function ($app) {
            return new AppSocialiteManager($app);
        });
    }
}
